//
//  UIView+cyFrame.h
//  cycleControlExtension
//
//  Created by ddy on 2018/8/8.
//  Copyright © 2018年 ddy. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (cyFrame)
@property (nonatomic, assign) CGFloat cy_x;
@property (nonatomic, assign) CGFloat cy_y;
@property (nonatomic, assign) CGFloat cy_centerX;
@property (nonatomic, assign) CGFloat cy_centerY;
@property (nonatomic, assign) CGFloat cy_width;
@property (nonatomic, assign) CGFloat cy_height;
@property (nonatomic, assign) CGSize cy_size;
@property (nonatomic, assign) CGPoint cy_origin;
@property (nonatomic, assign) CGFloat cy_right;
@property (nonatomic, assign) CGFloat cy_bottom;
/**
 * 判断一个控件是否真正显示在主窗口
 */
- (BOOL)cy_isShowingOnKeyWindow;
@end
